#!/bin/sh
#
# /etc/rc.d/clamd: start/stop clam antivirus daemon
#

case $1 in
start)
	/usr/sbin/clamd
	;;
stop)
	killall -q /usr/sbin/clamd
	;;
restart)
	$0 stop
	sleep 2
	$0 start
	;;
*)
	echo "Usage: $0 [start|stop|restart]"
	;;
esac

# End of file
